package com.ukao.pad.adapter;

import android.content.Context;

import com.mcxtzhang.commonadapter.rv.CommonAdapter;
import com.mcxtzhang.commonadapter.rv.ViewHolder;
import com.ukao.pad.R;
import com.ukao.pad.bean.PrinterBean;

import java.util.List;

/**
 * Created by ukaodev on 2017/6/14.
 */

public class PrintAdapter extends CommonAdapter<PrinterBean> {



    public PrintAdapter(Context context, List datas ) {
        super(context, datas, R.layout.adapte_print);
    }




    @Override
    public void convert(ViewHolder holder, PrinterBean item) {
        holder.setText(R.id.name,item.getPrinterName());
        holder.setText(R.id.device_name,item.getPrinterDevice());


    }


}
